// import Cookies from 'js-cookie'

export function getToken() {
  return sessionStorage.getItem('token')
}

export function setToken(token, expires = 1) {
  return sessionStorage.setItem('token', token )
}

export function removeToken() {
  return sessionStorage.removeItem('token')
}
